﻿@{
    if (Request.IsAjaxRequest())
    {

        Layout = null;

    }
    else
    {
        if (Request.QueryString["dialog"] != null)
        {
            Layout = "~/Views/Shared/_DialogLayout.cshtml";
        }
        else
        {
            Layout = "~/Views/Shared/_Layout.cshtml";
        }

    }
}
